import React, { Fragment } from 'react';
import { Layout, Icon } from 'antd';
import { GlobalFooter } from 'ant-design-pro';

const { Footer } = Layout;
const FooterView = () => (
  <Footer style={{ padding: 0 }}>
    <GlobalFooter
      links={[
        {
          key: '首页',
          title: '首页',
          href: '/',
          blankTarget: true,
        },
        {
          key: 'gitlab',
          title: <Icon type="gitlab" />,
          href: 'http://git.cs2025.com/caas/front-caas-uip',
          blankTarget: true,
        },
        {
          key: '公司',
          title: '公司',
          href: 'http://www.chalco-steering.com',
          blankTarget: true,
        },
      ]}
      copyright={
        <Fragment>
          Copyright <Icon type="copyright" /> 2018 中铝视拓工业物联网产品线出品
        </Fragment>
      }
    />
  </Footer>
);
export default FooterView;
